package cn.donting.jme.event.spatial;

import cn.donting.jme.event.SelectEvent;
import com.jme3.scene.Spatial;
import lombok.Getter;

@Getter
public  class SelectSpatialEvent extends SpatialEvent implements SelectEvent<Spatial> {

    public SelectSpatialEvent(Object source, Spatial spatial) {
        super(source, spatial);
    }

    public SelectSpatialEvent(Spatial spatial) {
        super(spatial);
    }

    @Override
    public Spatial getSelect() {
        return getSpatial();
    }
}
